//
//  ZBAttributeTextLabel.h
//  ZBTechniqueLibrary
//
//  Created by apple on 2018/9/29.
//  Copyright © 2018年 apple. All rights reserved.
//


#import <UIKit/UIKit.h>


@interface ZBAttributeTextLabel : UILabel


/**
  设置不同字体的和颜色文字
 */
- (void)zb_setNoramlText:(NSString *)originalText  differentFont:(UIFont *)differentFont  normalFont:(UIFont *)normalFont  differentColor:(UIColor *)differentColor  normalColor:(UIColor *)normalColor  range:(NSRange)range;

/**
 设置价格的Label
 */
- (void)zb_setPriceNoramlText:(NSString *)originalText  differentFont:(UIFont *)differentFont  normalFont:(UIFont *)normalFont normalColor:(UIColor *)normalColor isLine:(BOOL)isLine lineOffset:(CGFloat)offset;

/**
 设置标签文字
 */
- (void)zb_setTipText:(NSString *)originalText normalFont:(UIFont *)normalFont normalColor:(UIColor *)normalColor normalBackgroundColor:(UIColor *)backColor offset:(UIOffset)offest  cornerRadius:(CGFloat)cornerRadius borderWidth:(CGFloat)borderWidth;
/**
 设置多行文字
 */
- (void)zb_setMoreNoramlText:(NSString *)originalText  normalFont:(UIFont *)normalFont normalColor:(UIColor *)normalColor paragraphStyle:(NSMutableParagraphStyle *)paragraphStyle;

/**
 设置图文文字
 */
- (void)zb_setImageNoramlText:(NSString *)originalText  normalFont:(UIFont *)normalFont normalColor:(UIColor *)normalColor paragraphStyle:(NSMutableParagraphStyle *)paragraphStyle imageName:(NSString *)imageName imageOffset:(CGFloat)imageoffset;

/**
 设置阴影文字
 */
- (void)zb_setShadowNormalText:(NSString *)originalText normalFont:(UIFont *)normalFont normalColor:(UIColor *)normalColor shadow:(NSShadow *)shadow;


@end
